package com.redBook.mapper;

import com.redBook.entity.UserDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserDetailMapper {

    List<UserDetail> findByUserIdList(List userIds);

    @Select("select * from user_detail where user_id = #{uid}")
    UserDetail findByUserId(Long uid);
}
